home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
TeX 1995 July
/
TeX CD-ROM July 1995 (Disc 1)(Walnut Creek)(1995).ISO
/
dviware
/
dvipage
/
makefile
< prev
next >
Wrap
Makefile
|
1992-05-11
|
3KB
|
98 lines
#
# dvipage: DVI Previewer Program for Suns
#
# Neil Hunt (hunt@spar.slb.com)
#
# This program is based, in part, upon the program dvisun,
# distributed by the UnixTeX group, extensively modified by
# Neil Hunt at the Schlumberger Palo Alto Research Laboratories
# of Schlumberger Technologies, Inc.
#
# From the dvisun manual page entry:
# Mark Senn wrote the early versions of [dvisun] for the
# BBN BitGraph. Stephan Bechtolsheim, Bob Brown, Richard
# Furuta, James Schaad and Robert Wells improved it. Norm
# Hutchinson ported the program to the Sun. Further bug fixes
# by Rafael Bracho at Schlumberger.
#
# Copyright (c) 1988 Schlumberger Technologies, Inc 1988.
# Anyone can use this software in any manner they choose,
# including modification and redistribution, provided they make
# no charge for it, and these conditions remain unchanged.
#
# This program is distributed as is, with all faults (if any), and
# without any warranty. No author or distributor accepts responsibility
# to anyone for the consequences of using it, or for whether it serves any
# particular purpose at all, or any other reason.
#
# HISTORY
#
# 14/2/92: Makefile hacked, especially to add defines. d.love@dl.ac.uk
#
# $Log: Makefile,v $
# Revision 1.3 88/12/15 18:20:02 hunt
# Version 3.0. Split into more files, fixed for Sun4, reads GF fonts.
#
# Revision 1.2 88/11/26 11:12:51 hunt
# Added alternate font file location for sun4 machines at Spar.
#
# Revision 1.1 88/08/30 09:05:42 hunt
# Initial revision
#
# 12 April 1988 - Neil Hunt
# Version 2.0 released for use.
#
# Earlier history unavailable.
#
# where to find the pixel files (only looking for .pks here)
FONT_AREA=\"/usr/local/lib/tex/fonts/pkb:/usr/local/lib/tex/fonts/pk\"
BINDIR = /usr/local/bin # directory for executable
MANDIR = /usr/man/manl # directory for local man pages
MANEXT = l # extension for local man pages
DEBUG = #-g
# the definition of _TYPES_ below seems to have become necessary with
# sunos4.1
# For sun3.
#CFLAGS = -O -D_TYPES_ -DFONT_AREA=$(FONT_AREA) $(DEBUG)
# For sun3, f68881
CFLAGS = -O -f68881 -D_TYPES_ -DFONT_AREA=$(FONT_AREA) $(DEBUG)
# For Sun4.
#CFLAGS = -O -D_TYPES_ -DFONT_AREA=$(FONT_AREA) $(DEBUG)
# Sun libraries.
L = -lsuntool -lsunwindow -lpixrect -lm
dvipage: dvipage.o sample.o fonts.o findfile.o message.o utils.o args.o
${CC} $(DEBUG) -o dvipage \
dvipage.o sample.o fonts.o findfile.o message.o utils.o args.o $L
dvipage.o: dvipage.c dvi.h dvipage.h
sample.o: sample.c dvipage.h
fonts.o: fonts.c dvipage.h dvi.h
findfile.o: findfile.c dvipage.h
message.o: message.c dvipage.h
utils.o: utils.c dvipage.h
args.o: args.c dvipage.h
install: dvipage dvipage.1
install dvipage $(BINDIR)
install dvipage.1 $(MANDIR)/dvipage.$(MANEXT)
clean:
rm -f dvipage *.o core *~ *%